#include <stdio.h>
#include <stdlib.h>

#define M 10
typedef int elemtype;
typedef struct {
	elemtype rear;
	elemtype front;
	elemtype a[M];
}Queue;

void Init_queue(Queue* q);
int IsEmpty_queue(Queue* q);
int IsFull_queue(Queue* q);
int EnList_queue(Queue* q, elemtype val);
int DeList_queue(Queue* q, elemtype* val);